-
-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(finance): maskedNumber has incorrect defaults #2494
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## next #2494 +/- ##
=======================================
Coverage 99.58% 99.58%
=======================================
Files 2779 2779
Lines 249273 249273
Branches 1084 1084
=======================================
+ Hits 248230 248232 +2
+ Misses 1015 1013 -2
Partials 28 28
|
Given that the defaults were accidentally changed during a method rename and we didn't catch that, suggests there should be a test for that? e.g. check that maskedNumber() with no params includes (... ) |
Done |
ac10f9a
Co-authored-by: DivisionByZero <leyla.jaehnig@gmx.de>
Fix the incorrect defaults introduced in #2055
See also:
Alternative solution:
Additional suggestion:
Deprecate the method entirely (because it is probably more useful if done like this by the user:
which converts
DE241358431563434532
toDE24**************32
We should probably document that somewhere in our docs too, although I assume they should already have something similar in their code somewhere.